//
//  InfoCtrl.m
//  Review-Objective-C
//
//  Created by mac on 2017/7/18.
//  Copyright © 2017年 com.qiankun. All rights reserved.
//

#import "InfoCtrl.h"

@interface InfoCtrl ()

@end

@implementation InfoCtrl

- (void)viewDidLoad {
    [super viewDidLoad];
    // Do any additional setup after loading the view.
    
    [[NSNotificationCenter defaultCenter] addObserver:self selector:@selector(showinfo:) name:@"showInfo" object:nil];
    
    
    
}


-(void)showinfo:(NSNotification *)info{
    NSLog(@"通知接收到了");
    NSLog(@"%@",info);
    
    
}


- (void)didReceiveMemoryWarning {
    [super didReceiveMemoryWarning];
    // Dispose of any resources that can be recreated.
}

/*
#pragma mark - Navigation

// In a storyboard-based application, you will often want to do a little preparation before navigation
- (void)prepareForSegue:(UIStoryboardSegue *)segue sender:(id)sender {
    // Get the new view controller using [segue destinationViewController].
    // Pass the selected object to the new view controller.
}
*/

@end
